package com.project.nimsen.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
/**
 * 栏目表
 * */
@Entity
@Table(name="coltype")
public class Coltype implements Serializable {
	private static final long serialVersionUID = 3722909804796821621L;
	private String colname;//栏目名称
	private String showstatus;//前台的显示状态，show为显示，hidden为不显示
	private Integer sort;//排序值
	private String vurl;//访问的url
	private String listmodel;//列表模版
	private String archivesmodel;//文章模版
	private String phonelistmodel;//手机端列表模版
	private String phonearchmodel;//手机端文章模版
	private String padlistmodel;//平板列表模版
	private String padarchmodel;//平板文章模版
	private String siteid;//栏目所属的站点id
	private String number;//栏目所在的级别
	private String pnumber;//父栏目的级别
	private String createUser;//创建用户
	private Date createTime;//创建时间
	private Integer active;//0表示正常，1表示删除
	private String id;
	@Id
	@Column(name = "id", unique = true, nullable = false)
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	@Column(name = "createUser")
	public String getCreateUser() {
		return createUser;
	}
	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}
	@Column(name = "createTime")
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	@Column(name = "active")
	public Integer getActive() {
		return active;
	}
	public void setActive(Integer active) {
		this.active = active;
	}
	@Column(name = "number")
	public String getNumber() {
		return number;
	}
	public void setNumber(String number) {
		this.number = number;
	}
	@Column(name = "pnumber")
	public String getPnumber() {
		return pnumber;
	}
	public void setPnumber(String pnumber) {
		this.pnumber = pnumber;
	}
	@Column(name = "siteid")
	public String getSiteid() {
		return siteid;
	}
	public void setSiteid(String siteid) {
		this.siteid = siteid;
	}
	@Column(name = "colname")
	public String getColname() {
		return colname;
	}
	public void setColname(String colname) {
		this.colname = colname;
	}
	@Column(name = "showstatus")
	public String getShowstatus() {
		return showstatus;
	}
	public void setShowstatus(String showstatus) {
		this.showstatus = showstatus;
	}
	@Column(name = "sort")
	public Integer getSort() {
		return sort;
	}
	public void setSort(Integer sort) {
		this.sort = sort;
	}
	@Column(name = "vurl")
	public String getVurl() {
		return vurl;
	}
	public void setVurl(String vurl) {
		this.vurl = vurl;
	}
	@Column(name = "listmodel")
	public String getListmodel() {
		return listmodel;
	}
	public void setListmodel(String listmodel) {
		this.listmodel = listmodel;
	}
	@Column(name = "archivesmodel")
	public String getArchivesmodel() {
		return archivesmodel;
	}
	public void setArchivesmodel(String archivesmodel) {
		this.archivesmodel = archivesmodel;
	}
	@Column(name = "phonelistmodel")
	public String getPhonelistmodel() {
		return phonelistmodel;
	}
	public void setPhonelistmodel(String phonelistmodel) {
		this.phonelistmodel = phonelistmodel;
	}
	@Column(name = "phonearchmodel")
	public String getPhonearchmodel() {
		return phonearchmodel;
	}
	public void setPhonearchmodel(String phonearchmodel) {
		this.phonearchmodel = phonearchmodel;
	}
	@Column(name = "padlistmodel")
	public String getPadlistmodel() {
		return padlistmodel;
	}
	public void setPadlistmodel(String padlistmodel) {
		this.padlistmodel = padlistmodel;
	}
	@Column(name = "padarchmodel")
	public String getPadarchmodel() {
		return padarchmodel;
	}
	public void setPadarchmodel(String padarchmodel) {
		this.padarchmodel = padarchmodel;
	}
}
